package mytest.model;

import java.util.List;

/**
 * @author zhangdj
 * @date 2021-10-08 15:12:05
 */
public class TeacherDO {

    private Long id;

    private String name;

    private List<StudentDO> list;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<StudentDO> getList() {
        return list;
    }

    public void setList(List<StudentDO> list) {
        this.list = list;
    }


    @Override
    public String toString() {
        return "TeacherDO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", list=" + list +
                '}';
    }
}
